import React, {Component} from 'react';
import './index.css'

class Cate extends Component {
    render() {
        return (
            <div className={'cate_component'}>
                <div className={'title'}>
                    <div className="left">
                        {this.props.children[0]}
                    </div>
                    <div className="right">
                        {this.props.children[1]}
                    </div>
                </div>
                <div className={'content'}>
                    {this.props.children[2]}
                </div>
            </div>
        );
    }
}

export default Cate;